// DiseaseForumData.js
const diseaseForumData = {
    activeMenu: 'myPosts',
    searchKeyword: '',
    category: '全部',
    sort: '最新',
    showDialog: false,
    newPost: {
        title: '',
        content: '',
        category: '经验分享' // 默认选择经验分享
    },
    // 模拟用户发表的帖子
    myPostedPosts: [
        {
            title: '我分享的治疗经验',
            content: '这是我自己的治疗经验...',
            likes: 3,
            replies: 2,
            category: '经验分享',
            showCommentInput: false,
            newComment: '',
            comments: []
        },
        {
            title: '我遇到的病情问题',
            content: '我在治疗过程中遇到了一些问题...',
            likes: 1,
            replies: 1,
            category: '病情求助',
            showCommentInput: false,
            newComment: '',
            comments: []
        }
    ],
    collectedPosts: [], // 新增收藏帖子数组
    posts: [
        // 模拟帖子数据
        {
            title: '经验分享：我的抗癌之路',
            content: '这是我的抗癌经验分享...',
            likes: 10,
            replies: 5,
            category: '经验分享',
            showCommentInput: false,
            newComment: '',
            comments: []
        },
        {
            title: '病情求助：寻找治疗方案',
            content: '我正在寻找这种疾病的治疗方案...',
            likes: 5,
            replies: 8,
            category: '病情求助',
            showCommentInput: false,
            newComment: '',
            comments: []
        }
    ],
    totalLikes: 0,
    totalReplies: 0,
    unreadLikes: 0,
    unreadReplies: 0
};

export default diseaseForumData;